package com.belf.console.type;

public enum GenerateDataStatus {

    WAITING(0, "待执行"),

    RUNNING(1, "执行中"),

    SUCCESS(2, "执行成功"),

    FAIL(3, "执行失败");

    private final int code;

    private final String info;

    GenerateDataStatus(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
